<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>对象</title>

</head>
<body>
<script>
    //对象中包含属性的方法
    //属性
    var zhangsan={
        name:"张三",
        agg:"20"
    }
    //objiect对象
    console.log(zhangsan.name);
</script>


</body>
</html>
